package cn.onecloud.tablet.xiaozhi.model;

import java.io.Serializable;

/**
 * Created by yin.he on 17-11-16.
 */
public abstract class AbstractDesktop implements Serializable {

    public static final int SRC_MANUAL = 1;

    public static final int SRC_POWERVIEW = 2;

    public static final int SRC_SHARED = 3;

    public static final int SRC_TRIAL = 5;

    public static final int SRC_VILLA = 6;

    private String id;

    private String name;

    /**
     * 1：手动添加
     * 2： PowerView扫码添加
     * 3：共享桌面
     */
    private int srcId;

    private boolean beingShared;

    private Long validFrom;

    private Long validUntil;

    private String fromMobile;

    private String fromNickName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public int getSrcId() {
        return srcId;
    }

    public void setSrcId(int srcId) {
        this.srcId = srcId;
    }

    public boolean isBeingShared() {
        return beingShared;
    }

    public void setBeingShared(boolean beingShared) {
        this.beingShared = beingShared;
    }

    public Long getValidFrom() {
        return validFrom;
    }

    public void setValidFrom(Long validFrom) {
        this.validFrom = validFrom;
    }

    public Long getValidUntil() {
        return validUntil;
    }

    public void setValidUntil(Long validUntil) {
        this.validUntil = validUntil;
    }

    public String getFromMobile() {
        return fromMobile;
    }

    public void setFromMobile(String fromMobile) {
        this.fromMobile = fromMobile;
    }

    public String getFromNickName() {
        return fromNickName;
    }

    public void setFromNickName(String fromNickName) {
        this.fromNickName = fromNickName;
    }
}

